#!/bin/sh
cd ~/games/th123
export WINEDLLPATH="~/games/th123:$WINEDLLPATH"
export WINEDLLOVERRIDES="c:\\temp\\d3d9.dll;d3dx9_33=n,b"
if [ $# -eq 1 ]; then
    LANG=ja_JP.UTF-8 wine th123e.exe 2>/dev/null && wine SokuRollLoader.exe
else
    LANG=ja_JP.UTF-8 wine th123e.exe 2>/dev/null
fi
